package com.logwire.config.mp;import com.baomidou.mybatisplus.annotation.DbType;import com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor;import com.baomidou.mybatisplus.extension.plugins.inner.PaginationInnerInterceptor;import org.mybatis.spring.annotation.MapperScan;import org.mybatis.spring.annotation.MapperScans;import org.springframework.context.annotation.Bean;import org.springframework.context.annotation.Configuration;/** * @author yhou * @ProjectName yhou-api * @description * @date 2022/11/11 3:36 PM */@Configuration@MapperScans({@MapperScan("com.logwire.mapper"), @MapperScan("com.logwire.process.mapper")})public class MybatisPlusConfig {	/**	 * mybatis 分页插件拦截器	 *	 * @return	 */	@Bean	public MybatisPlusInterceptor mybatisPlusInterceptor() {		MybatisPlusInterceptor interceptor = new MybatisPlusInterceptor();		interceptor.addInnerInterceptor(new PaginationInnerInterceptor(DbType.MYSQL));		return interceptor;	}}